﻿import flash.Lib;

/**
 * ...
 * @author 
 */

class Main 
{
	
	static function main() 
	{  
		
		var api = new PetsServerApi(1);
		//api.addPet("farm2", "fox", "ver", function(pet) { trace(pet.owner+ " " + pet.species+ " " + pet.name); } );
		api.PetsList(function(pet) { trace(pet.id + ". " + pet.owner+ " " + pet.species+ " " + pet.name); });
         
		api.PetDelete("13");
	}
	
}